package com.sims.bean;

import java.sql.Timestamp;

/**
 * Post entity. @author MyEclipse Persistence Tools
 */

public class Post implements java.io.Serializable {

	// Fields

	private Integer pid;
	private Integer thid;
	private Boolean isTheme;
	private String author;
	private String title;
	private Integer authorId;
	private String body;
	private Timestamp stime;
	private String authorIdentity;

	// Constructors

	/** default constructor */
	public Post() {
	}

	/** full constructor */
	public Post(Integer thid, Boolean isTheme, String author, String title,
			Integer authorId, String body, Timestamp stime, String authorIdentity) {
		this.thid = thid;
		this.isTheme = isTheme;
		this.author = author;
		this.title = title;
		this.authorId = authorId;
		this.body = body;
		this.stime = stime;
		this.authorIdentity = authorIdentity;
	}

	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getThid() {
		return this.thid;
	}

	public void setThid(Integer thid) {
		this.thid = thid;
	}

	public Boolean getIsTheme() {
		return this.isTheme;
	}

	public void setIsTheme(Boolean isTheme) {
		this.isTheme = isTheme;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getAuthorId() {
		return this.authorId;
	}

	public void setAuthorId(Integer authorId) {
		this.authorId = authorId;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Timestamp getStime() {
		return this.stime;
	}

	public void setStime(Timestamp stime) {
		this.stime = stime;
	}

	public String getAuthorIdentity() {
		return this.authorIdentity;
	}

	public void setAuthorIdentity(String authorIdentity) {
		this.authorIdentity = authorIdentity;
	}

}